const getters = {
  roles: state => state.user.roles,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  permission_routers: state => state.permission.routers,
  addRouters: state => state.permission.addRouters,
  userID: state => state.user.id,
  userName: state => state.user.UserName,
  token: state => state.user.token,
  IsSuperUser: state => state.user.IsSuperUser,
  ShopAuthoritys: state => state.user.ShopAuthoritys,
  currentShopName: state => state.user.currentShopName,
  currentShopID: state => state.user.currentShopID,
  shopRegisterSwitch: state => state.user.shopRegisterSwitch,
  shopCourseSwitch: state => state.user.shopCourseSwitch,
  pageSize: state => state.user.pageSize,
  pageSizeList: state => state.user.pageSizeList,
  adminNoticeSet: state => state.user.adminNoticeSet
}
export default getters
